package com.winchain.chainbill.bill.biz.send.rx;

import com.shell.framework.command.Context;
import com.winchain.chainbill.basic.context.TimeoutOperation;
import com.winchain.chainbill.bill.base.po.CbOpt;
import com.winchain.chainbill.bill.biz.send.vo.BatchBillStats;
import java.util.List;

public class BatchBillEvent<X, Y> extends Context {
	private static final long serialVersionUID = -8620612953302536740L;
	private List<X> records;
	private CbOpt operation;
	private TimeoutOperation timeoutOpt;
	private BatchBillStats<Y> stats;
	private boolean newTransaction = true;

	public List<X> getRecs() {
		return this.records;
	}

	public void setRecs(List<X> records) {
		this.records = records;
	}

	public CbOpt getOperation() {
		return this.operation;
	}

	public void setOperation(CbOpt operation) {
		this.operation = operation;
	}

	public TimeoutOperation getTimeoutOpt() {
		return this.timeoutOpt;
	}

	public void setTimeoutOpt(TimeoutOperation timeoutOpt) {
		this.timeoutOpt = timeoutOpt;
	}

	public BatchBillStats<Y> getStats() {
		return this.stats;
	}

	public void setStats(BatchBillStats<Y> stats) {
		this.stats = stats;
	}

	public boolean isNewTransaction() {
		return this.newTransaction;
	}

	public void setNewTransaction(boolean newTransaction) {
		this.newTransaction = newTransaction;
	}
}
